home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(_root.point >= 30000)
- {
- _root.memsc = _root.sc;
- _root.mempoints = _root.point + _root.memsc * 1000;
- _root.gotoAndStop("win");
- }
- else if(_root.fin == 1)
- {
- _root.mempoints = _root.point;
- _root.gotoAndStop("endl01");
- }
- if(_root.b == 1)
- {
- _root.memgun = _root.canon._y;
- _root.canon._y += 10;
- j = 1;
- while(_root.nmax >= j)
- {
- if(_root.cible.impact.hitTest(_root["popc" + j].pophit))
- {
- if(_root["popc" + j].popcol == 1)
- {
- _root["popc" + j].collision = 1;
- }
- }
- j++;
- }
- _root.b = 0;
- }
- }
-